package com.bw.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class UserTemVo {
    private Integer id;
    private String usernames;
    private String userdescribe;
    private String allocation;
    private String creator;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date establishtime; //创建时间
    private Integer temnum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsernames() {
        return usernames;
    }

    public void setUsernames(String usernames) {
        this.usernames = usernames;
    }

    public String getUserdescribe() {
        return userdescribe;
    }

    public void setUserdescribe(String userdescribe) {
        this.userdescribe = userdescribe;
    }

    public String getAllocation() {
        return allocation;
    }

    public void setAllocation(String allocation) {
        this.allocation = allocation;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getEstablishtime() {
        return establishtime;
    }

    public void setEstablishtime(Date establishtime) {
        this.establishtime = establishtime;
    }

    public Integer getTemnum() {
        return temnum;
    }

    public void setTemnum(Integer temnum) {
        this.temnum = temnum;
    }

    public UserTemVo(Integer id, String usernames, String userdescribe, String allocation, String creator, Date establishtime, Integer temnum) {
        this.id = id;
        this.usernames = usernames;
        this.userdescribe = userdescribe;
        this.allocation = allocation;
        this.creator = creator;
        this.establishtime = establishtime;
        this.temnum = temnum;
    }

    public UserTemVo() {
    }

    @Override
    public String toString() {
        return "UserTemVo{" +
                "id=" + id +
                ", usernames='" + usernames + '\'' +
                ", userdescribe='" + userdescribe + '\'' +
                ", allocation='" + allocation + '\'' +
                ", creator='" + creator + '\'' +
                ", establishtime=" + establishtime +
                ", temnum=" + temnum +
                '}';
    }
}
